import request from '@/utils/request'

// api地址
const api = {
  pay: 'order/payDirect'
}

// 获取支付参数
export const getParam = (orderId, payType,  token) => {
  return request.post(api.pay, { orderId, payType, token })
}
